package intermediate

class Student(var name: String, var age: Int) {
    constructor(name: String) : this(name, age=18){
        println("次要构造函数")
    }
}